package com.passionfruit.module.service;

import com.baomidou.mybatisplus.plugins.pagination.Pagination;
import com.passionfruit.common.utils.Query;
import com.passionfruit.module.entity.BlogArticle;
import com.baomidou.mybatisplus.service.IService;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author weirdor
 * @since 2017-11-06
 */
public interface IBlogArticleService extends IService<BlogArticle> {

    List<Map<String, Object>> selectBlogArticlePage(Pagination page, Map<String, Object> params);

    List<BlogArticle> queryList(Query query);

    BlogArticle queryObject(Integer id);

    void save(BlogArticle blogArticle);

    void update(BlogArticle blogArticle);
}
